home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Suzy B Software 2
/
Suzy B Software CD-ROM 2 (1994).iso
/
extras
/
programm
/
gemfsc20
/
gemfsc20.lzh
/
GEMFUNCS
/
RCEQUAL.C
< prev
next >
Wrap
Text File
|
1993-02-01
|
537b
|
18 lines
/**************************************************************************
* RCEQUAL.C - Return TRUE/FALSE indicating rectangles are EQUAL/NOTEQUAL.
* we cheat bigtime here: we don't include any headers, and thus get
* away with totally lying about the types of the two pointer args.
*************************************************************************/
long rc_equal(prect1, prect2)
long *prect1;
long *prect2;
{
if (*prect1++ == *prect2++) {
if (*prect1 == *prect2) {
return 1;
}
}
return 0;
}